User Guide > How To ... > Set a Custom tessdata Directory |
The recognition engine depends upon data files located in a directory named tessdata. By default, these data files are located in the running directory of the application. You can, however, specify a custom tessdata location.
Simply call the static method and pass in the parent directory that contains the tessdata directory.
Copy Code
|
|
---|---|
OcrXpress.setDataPrefixPath(“/path/to/parentDirectory/”); |